From 370f5bfcd26f4213393654f333f9a08ef0d14be3 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 29 Aug 2003 21:46:17 +0000 Subject: [PATCH] (redisplay_internal): Fix change of 2003-04-30. Don't tell redisplay display is accurate when it's actually been paused for pending input. --- src/xdisp.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index a61ead4bef2..c825dd21d3d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10069,15 +10069,18 @@ redisplay_internal (preserve_echo_area) } } - /* Do the mark_window_display_accurate after all windows have - been redisplayed because this call resets flags in buffers - which are needed for proper redisplay. */ - for (i = 0; i < n; ++i) - { - struct frame *f = updated[i]; - mark_window_display_accurate (f->root_window, 1); - if (frame_up_to_date_hook) - frame_up_to_date_hook (f); + if (!pause) + { + /* Do the mark_window_display_accurate after all windows have + been redisplayed because this call resets flags in buffers + which are needed for proper redisplay. */ + for (i = 0; i < n; ++i) + { + struct frame *f = updated[i]; + mark_window_display_accurate (f->root_window, 1); + if (frame_up_to_date_hook) + frame_up_to_date_hook (f); + } } } else if (FRAME_VISIBLE_P (sf) && !FRAME_OBSCURED_P (sf)) -- 2.30.2